import Layout from '@/sheep/layouts/index.vue';

export default {
  path: '/file',
  name: 'file',
  component: Layout,
  children: [
    {
      path: 'admin',
      name: 'file.admin',
      redirect: '/file/admin/index',
      meta: {
        title: '文件管理',
      },
      children: [
        {
          path: 'index',
          name: 'file.admin.index',
          component: () => import('@/app/file/admin/index.vue'),
          meta: {
            title: '文件管理',
          },
        },
        {
          path: 'config',
          name: 'file.admin.config',
          component: () => import('@/app/file/admin/config.vue'),
          meta: {
            title: '附件配置',
          },
        },
      ],
    },
  ],
};
